package com.mzkj.wanjulaile.mobile.api.modules.activeConfig.entity;


import com.mzkj.wanjulaile.mobile.api.common.entity.DataEntity;
import com.mzkj.wanjulaile.mobile.api.modules.coupon.entity.Coupon;

/**
 * 分享获得优惠券Entity
 * @author ianly
 * @version 2017-02-13
 */
public class ActiveShareCoupon extends DataEntity<ActiveShareCoupon> {

	private static final long serialVersionUID = 1L;
	private ActiveShareConfig activeShareConfig;
	private Coupon coupon;		// 优惠券
	private Integer count;		// 优惠券数量
	private Integer type;		// 类型：1分享者 2：被分享者
	
	public ActiveShareCoupon() {
		super();
	}

	public ActiveShareCoupon(String id){
		super(id);
	}

	public ActiveShareCoupon(ActiveShareConfig activeShareConfig, Integer type) {
		this.activeShareConfig = activeShareConfig;
		this.type = type;
	}

	public ActiveShareConfig getActiveShareConfig() {
		return activeShareConfig;
	}

	public void setActiveShareConfig(ActiveShareConfig activeShareConfig) {
		this.activeShareConfig = activeShareConfig;
	}

	public Coupon getCoupon() {
		return coupon;
	}

	public void setCoupon(Coupon coupon) {
		this.coupon = coupon;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	
}